package com.simple.service;

import com.simple.common.Result;
import com.simple.dto.UserDTO;
import com.simple.pojo.User;

import java.util.List;

/**
 * @ClassName UserService
 * @Author SimpleTree
 **/
public interface UserService {
    Result login(UserDTO userDTO);

    List<UserDTO> getUsers(UserDTO userDTO);

    User getUserById(Integer id);

    void updateUser(UserDTO userDTO);
}
